const key = 'token'

function getItem () {
  return window.localStorage.getItem(key)
}

function setItem (value) {
  window.localStorage.setItem(key, value)
}

function removeItem () {
  window.localStorage.removeItem(key)
}

export { getItem, setItem, removeItem }
